#include "linkWidget.h"
#include "ui_linkWidget.h"

linkWidget::linkWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::linkWidget)
{
    ui->setupUi(this);
    ui->lightButton->setRed();
    this->setFixedSize(100,100);

    //setStyleSheet("background-color:#DEF0FE");
    //
    //this->setStyleSheet(QString("QWidget[flag=\"linkWidget\"] QLabel{font:10px;}"));
    this->setProperty("flag", "linkWidget");
    setStyleSheet(QString("QWidget[flag=\"linkWidget\"] {background:%1;} QLabel{font:10px;}").arg("#DEF0FE"));
    setAttribute(Qt::WA_StyledBackground);
}

linkWidget::~linkWidget()
{
    delete ui;
}
